<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>BoundingHex.h</h1><a href="BoundingHex_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/******************************************************************************</span>
00002 <span class="comment"></span>
00003 <span class="comment"> @File         BoundingHex.h</span>
00004 <span class="comment"></span>
00005 <span class="comment"> @Title        Bounding Hexahedron</span>
00006 <span class="comment"></span>
00007 <span class="comment"> @Version      </span>
00008 <span class="comment"></span>
00009 <span class="comment"> @Copyright    Copyright (C)  Imagination Technologies Limited.</span>
00010 <span class="comment"></span>
00011 <span class="comment"> @Platform     Independent</span>
00012 <span class="comment"></span>
00013 <span class="comment"> @Description  More convenient struct for holding irregular bounding volumes</span>
00014 <span class="comment">               Stores 6 planes = 6 points + 6 normals to describe a bounding area</span>
00015 <span class="comment"></span>
00016 <span class="comment">******************************************************************************/</span>
00017 
00018 <span class="preprocessor">#ifndef BOUNDINGHEX_H</span>
00019 <span class="preprocessor"></span><span class="preprocessor">#define BOUNDINGHEX_H</span>
00020 <span class="preprocessor"></span>
00021 <span class="comment">/******************************************************************************</span>
00022 <span class="comment">Includes</span>
00023 <span class="comment">******************************************************************************/</span>
00024 
00025 <span class="preprocessor">#include "<a class="code" href="Plane_8h.html">Plane.h</a>"</span>
00026 <span class="preprocessor">#include "<a class="code" href="BoundingBox_8h.html">BoundingBox.h</a>"</span>
00027 
00028 <span class="keyword">namespace </span>pvrengine
00029 {
00030     <span class="comment">/*!***************************************************************************</span>
00031 <span class="comment">    * @Struct BoundingHex</span>
00032 <span class="comment">    * @Brief Describes a more convenient struct for holding irregular bounding volumes</span>
00033 <span class="comment">    * @Description Describes a 3D bounding box</span>
00034 <span class="comment">    *****************************************************************************/</span>
00035     <span class="keyword">struct </span>BoundingHex
<a name="l00036"></a><a class="code" href="structpvrengine_1_1BoundingHex.html">00036</a>     {
00037         <span class="comment">/****************************************************************************</span>
00038 <span class="comment">        ** Variables</span>
00039 <span class="comment">        ****************************************************************************/</span>
00040         <a class="code" href="structpvrengine_1_1Plane.html">Plane</a>       <a class="code" href="structpvrengine_1_1BoundingHex.html#o0">m_pPlanes</a>[6];
<a name="l00041"></a><a class="code" href="structpvrengine_1_1BoundingHex.html#o0">00041</a> 
00042         <span class="comment">/*!***************************************************************************</span>
00043 <span class="comment">        @Function           BoundingHex</span>
00044 <span class="comment">        @Description        Blank constructor. Sets all values to 0.</span>
00045 <span class="comment">        *****************************************************************************/</span>
00046         <a class="code" href="structpvrengine_1_1BoundingHex.html#a0">BoundingHex</a>();
00047 
00048         <span class="comment">/*!***************************************************************************</span>
00049 <span class="comment">        @Function           BoundingHex</span>
00050 <span class="comment">        @Input              sBoundingBox    a bounding box struct</span>
00051 <span class="comment">        @Description        Constructor to make a bounding hex from a bounding box.</span>
00052 <span class="comment">        *****************************************************************************/</span>
00053         <a class="code" href="structpvrengine_1_1BoundingHex.html#a0">BoundingHex</a>(<span class="keyword">const</span> <a class="code" href="structpvrengine_1_1BoundingBox.html">BoundingBox</a>&amp; sBoundingBox);
00054 
00055     };
00056 
00057 
00058 
00059 }
00060 <span class="preprocessor">#endif // BOUNDINGHEX</span>
00061 <span class="preprocessor"></span>
00062 <span class="comment">/******************************************************************************</span>
00063 <span class="comment">End of file (PVRES.h)</span>
00064 <span class="comment">******************************************************************************/</span>
00065 
</pre></div><br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
